package com.itheima.service;

import com.itheima.pojo.Dept;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;


public interface DeptService {
    //查询接口
    List<Dept> selectDept();

    void deleteById(Integer id) throws IOException;


    void insertByName(Dept dept);

    Dept selectById(Integer id);

    void putByList(Dept dept);
}
